﻿using System;
using System.Linq;

class FindGreaterNumber
{
    static void Main (string[] args)
    {
		System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
        // Read numbers from console
        string input = Console.ReadLine();
        double a = double.Parse(input);

        input = Console.ReadLine();
        double b = double.Parse (input);

        // Find greater number
        double greater = Math.Max(a, b);

        // Print result
        Console.WriteLine(greater);
    }
}